package com.settlement.system.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelProperty;
import java.util.HashMap;
import java.util.Map;

/**
* <p>
* 转换核销单失败记录表导入VO
* </p>
*
* @author huangrensen
* @since 2024-08-26
*/
@Schema
@Data
public class AuditErrorRecordImportVo implements Serializable {
    @ExcelProperty(value = "数据类型（0 标准订单 1 标准账单）")
    private String dataType;
    @ExcelProperty(value = "数据关联字段")
    private String dataId;
    @ExcelProperty(value = "账单日期集合")
    private String businessDateStr;
    @ExcelProperty(value = "店铺ID")
    private String storeId;
    @ExcelProperty(value = "是否需要更新业务日期")
    private String needUpdateBusinessDate;
    @ExcelProperty(value = "是否删除")
    private String deleted;
    @ExcelProperty(value = "备注")
    private String remark;
    @ExcelProperty(value = "状态")
    private String status;

    public static Map<String, String> getKeyMap(){
        Map<String, String> map = new HashMap<>();
        map.put("数据类型（0 标准订单 1 标准账单）", "dataType");
        map.put("数据关联字段", "dataId");
        map.put("账单日期集合", "businessDateStr");
        map.put("店铺ID", "storeId");
        map.put("是否需要更新业务日期", "needUpdateBusinessDate");
        map.put("是否删除", "deleted");
        map.put("备注", "remark");
        map.put("状态", "status");
        return map;
    }
}
